/**
 * Created by cjl at 2019-02-28
 * Description:
 * Changed:
 */
public abstract class AbstractSort {

  /**
   * 交换数组内两个元素
   * @param array
   * @param i
   * @param j
   */
  public static void swap(int[] array, int i, int j) {
    int temp = array[i];
    array[i] = array[j];
    array[j] = temp;
  }
}
